const Koa = require('koa');
const bodyParser = require('koa-bodyparser');
const router=require('./app/router')

const app = new Koa();

app.use(bodyParser())
app.use(router)


app.listen(3000,()=>{
    console.log('http://127.0.0.1:3000');
});